<div id="container">
	<div id="content-l">
		<h2>Create</h2>
	<?php echo form_open('demo/create');?>
	
	<p>
		<label for="content">Content:</label>
		<input type="text" name="content" id="content" />
	</p>	
	
	<p>
		<input type="submit" value="Submit" />
	</p>
	<?php echo form_close(); ?>
	
	<hr />
	
	<h2>Read</h2>
	<?php if(isset($records)) : foreach($records as $row) : ?>
	
	<h2><?php echo $row->id . anchor("demo/delete/$row->id", $row->content); ?> </h2>

	<?php endforeach; ?>

	<?php else : ?>	
	<h2>No records were returned.</h2>
	<?php endif; ?>
	
	<hr />
	
	<h2>Delete</h2>
	
	<p>
		To sample the delete method, simply click on one of the headings listed above. A delete
		query will automatically run.
	</p>
	</div>
</div>